package context

type BannerContext struct {
	Stype int32 `json:"stype" binding:"required" msg:"请输入轮播图类型"`
}

type GoodsContext struct {
	PageNo     int32  `json:"pageNo" binding:"required" msg:"请输入分页"`
	PageSize   int32  `json:"pageSize" binding:"required" msg:"请输入每页显示多少条"`
	Keyword    string `json:"keyword"`
	CategoryId uint64 `json:"categoryId"`
	IsNew      int32  `json:"isNew"`
	IsHot      int32  `json:"isHot"`
	MinPrice   int32  `json:"minPrice"`
	MaxPrice   int32  `json:"maxPrice"`
}
